package org.feiye.studyday15;

public class TestDoctor {

	public static void main(String[] args) {
		PetDoctor dc = new PetDoctor("小张");
		Dog d = new Dog("旺财", 60, 50, "哈士奇");
		Snake s = new Snake("哈哈", 40, 79, "响尾蛇");
		dc.cure(d);
		System.out.println(s.getHealth());
		dc.cure(s);
		System.out.println(s.getHealth());
	}

}
